package util;

import java.text.ParseException;
import java.util.Calendar;
import java.util.Date;

public class CommonUtil {

	static Calendar calendar = Calendar.getInstance();

	public static Date getCurrentDate() {

		calendar.set(Calendar.HOUR, 0);
		calendar.set(Calendar.MINUTE, 0);
		calendar.set(Calendar.SECOND, 0);
		calendar.set(Calendar.MILLISECOND, 0);

		Date date = calendar.getTime();

		return date;
	}

	public static void main(String[] args) {
	}
}
